package com.atguigu.jxc.service;

import java.util.Map;

public interface GoodsService {

    Map<String, Object> getListInventory(Integer page, Integer rows, String codeOrName, Integer goodsTypeId);

    Map<String, Object> getGoodsList(Integer page, Integer rows, String goodsName, Integer goodsTypeId);

    Map<String, Object> getNoInventoryQuantity(Integer page, Integer rows, String nameOrCode);

    Map<String, Object> getHasInventoryQuantity(Integer page, Integer rows, String nameOrCode);

    Map<String, Object> getGoodsAlarmList();

    void deleteStock(Integer goodsId);

    void saveStock(Integer goodsId, Integer inventoryQuantity, double purchasingPrice);
}
